<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main"/>
  <title>Show UserAccount</title>
</head>
<body>
<div class="nav">
  <span class="menuButton"><a class="home" href="${createLinkTo(dir: '')}">Home</a></span>
  %{--<span class="menuButton"><g:link class="list" action="list">UserAccount List</g:link></span>--}%
  %{--<span class="menuButton"><g:link class="create" action="create">New UserAccount</g:link></span>--}%
</div>
<div class="body">
  <h1>Show UserAccount</h1>
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <div class="dialog">
    <table>
      <tbody>
      %{--<tr class="prop">--}%
      %{--<td valign="top" class="name">Id:</td>--}%
      %{--<td valign="top" class="value">${fieldValue(bean: userAccountInstance, field: 'id')}</td>--}%
      %{--</tr>--}%
      <tr class="prop">
        <td valign="top" class="name">First Name:</td>
        <td valign="top" class="value">${fieldValue(bean: userAccountInstance, field: 'firstName')}</td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name">Last Name:</td>
        <td valign="top" class="value">${fieldValue(bean: userAccountInstance, field: 'lastName')}</td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name">Email:</td>
        <td valign="top" class="value">${fieldValue(bean: userAccountInstance, field: 'email')}</td>
      </tr>
      <tr class="prop">
        <td valign="top" class="name">Password:</td>
        <td valign="top" class="value">${fieldValue(bean: userAccountInstance, field: 'password')}</td>
      </tr>
      </tbody>
    </table>
  </div>
  <div class="buttons">
    <g:form>
      <input type="hidden" name="id" value="${userAccountInstance?.id}"/>
      <g:if test="${session.user.id == userAccountInstance?.id}">
        <span class="button"><g:actionSubmit class="edit" value="Edit"/></span>
      </g:if>
    %{--<span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete"/></span>--}%
    </g:form>
  </div>
</div>
</body>
</html>
